package jgamio.framework.application;

/**
 * Represents single component.
 * 
 * @author	Tomas Zima
 * @see		KeyboardHandler
 */
public class Component
{
	/** Unique identifier of a component. */
	private int identifier;
	
	/**
	 * Constructor.
	 * 
	 * @param identifier	Unique identifier of a component.
	 */
	public Component(int identifier)
	{
		this.identifier = identifier;;
	}
	
	/**
	 * Returns identifier of a component.
	 * 
	 * @return	Unique identifier of a component.
	 */
	public final int getIdentifier()
	{
		return this.identifier;
	}
}